<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html lang="en">
    <?php $name=session('name'); ?>
          <meta charset="utf-8">
          <head>
              
            <title>约健管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健管理平台">
    <link rel="shortcut icon" href="/neu11_yuejian/yuejian11/Public/assets_a/ico/favicon.html">
<link href="/neu11_yuejian/yuejian11/Public/assets_a/css/bootstrap.css" rel="stylesheet">
<link href="/neu11_yuejian/yuejian11/Public/assets_a/css/theme.css" rel="stylesheet">
<link href="/neu11_yuejian/yuejian11/Public/assets_a/css/font-awesome.min.css" rel="stylesheet">
<link href="/neu11_yuejian/yuejian11/Public/assets_a/css/alertify.css" rel="stylesheet">

<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/raphael-min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/bootstrap.js"></script>
<script type="text/javascript" src='/neu11_yuejian/yuejian11/Public/assets_a/js/sparkline.js'></script>
<script type="text/javascript" src='/neu11_yuejian/yuejian11/Public/assets_a/js/morris.min.js'></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.masonry.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.imagesloaded.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.facybox.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.alertify.min.js"></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.knob.js"></script>
<script type='text/javascript' src='/neu11_yuejian/yuejian11/Public/assets_a/js/fullcalendar.min.js'></script>
<script type='text/javascript' src='/neu11_yuejian/yuejian11/Public/assets_a/js/jquery.gritter.min.js'></script>
<script type="text/javascript" src="/neu11_yuejian/yuejian11/Public/assets_a/js/realm.js"></script>
   
</head>
<body>

<div id="wrap">
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <div class="logo">
                    <img  src="/neu11_yuejian/yuejian11/Public/assets_a/img/234.png" alt="caffe">
                </div>
                <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <a class="btn btn-navbar slide_menu_left visible-tablet">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>

                <div class="top-menu visible-desktop">

                    <ul class="pull-right">
                        <li><a href="<?php echo U('Index/logout');?>""><i class="icon-off"></i> 注销</a></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>
     <div class="container-fluid">
        <!-- Side menu -->
<div class="sidebar-nav nav-collapse collapse">
    <div class="user_side clearfix">
        <img src="/neu11_yuejian/yuejian11/Public/assets_a/img/2.jpg" alt="">
        <!--<h5 align="">Admin</h5>-->
        <!--<a href="#"><i class="icon-cog"></i> Settings</a>-->
    </div>


    <!-- 1.约健首页 -->
<div class="accordion" id="accordion2">
        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse_city"><i class="icon-reorder"></i> <span>约健首页</span></a>
            </div>
            <div id="collapse_city" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Index/count');?>"><i class="icon-table"></i> 约健视频</a>

                </div>
            </div>
        </div>

<!-- 4.反馈管理 -->
       <!--  <div class="accordion-group">
           <div class="accordion-heading">
               <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse-back"><i class="icon-reorder"></i> <span>反馈管理</span></a>
           </div>
           <div id="collapse-back" class="accordion-body collapse">
               <div class="accordion-inner">
                   <a class="accordion-toggle" href="<?php echo U('Back/backlist');?>"><i class="icon-table"></i> 反馈列表</a>
               </div>
       
           </div>      
           
       </div> -->
      <!-- 5.帖子管理 -->
      <!--   <div class="accordion-group">
          <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse-note"><i class="icon-reorder"></i> <span>帖子管理</span></a>
          </div>
          <div id="collapse-note" class="accordion-body collapse">
              <div class="accordion-inner">
                  <a class="accordion-toggle" href="<?php echo U('Note/notelist');?>"><i class="icon-table"></i> 帖子列表</a>
              </div>
      
          </div>      
          
      </div>  
       -->


          <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse-club"><i class="icon-reorder"></i> <span>俱乐部管理</span></a>
            </div>
            <div id="collapse-club" class="accordion-body collapse">
                <!-- <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Club/clublist');?>"><i class="icon-table"></i> 俱乐部列表</a>
                </div> -->
                 <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Video/videolist');?>"><i class="icon-table"></i> 俱乐部视频</a>
                </div>
                 <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Class/classlist');?>"><i class="icon-table"></i> 俱乐部课程</a>
                </div>
        
            </div>      
            
        </div>  
  

          <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse-info"><i class="icon-reorder"></i> <span>通知管理</span></a>
            </div>
            <div id="collapse-info" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Inform/informlist');?>"><i class="icon-table"></i> 通知列表</a>
                </div>
        
            </div>      
            
        </div>  

          <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse-master"><i class="icon-reorder"></i> <span>大师管理</span></a>
            </div>
            <div id="collapse-master" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Master/masterlist');?>"><i class="icon-table"></i> 大师列表</a>
                </div>
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('MasterCourse/mastercourselist');?>"><i class="icon-table"></i> 大师课堂列表</a>
                </div>
        
        
            </div>      
            
        </div>  



       
    </div>
</div>

<!-- /Side menu -->

<body>
        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                   俱乐部信息

                </h2>
                   <a href="/neu11_yuejian/yuejian11/Admin/Video/addVideo">增加
                           </a>

            </div> 
            <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5> 视频列表</h5>
                    
                    </div>
                    <div class="widget-body table-responsive ">
                        <table id="users" class="table table-condensed table-striped table-bordered dataTable">
                            <thead>
                            <tr>
                            <th>序号</th>
                            <th>俱乐部</th>
                            <th>视频名称</th>
                            <th>类型</th>
                            <th>上传时间</th>
                            <th>视频</th>
                        
                            </tr>
                            </thead>
                            <tbody>
                            <?php if(is_array($club)): $i = 0; $__LIST__ = $club;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr>
                           <td><?php echo ($key+1); ?></td>
                           <td><?php echo ($v["club_name"]); ?></td>
                           <td><?php echo ($v["club_video_name"]); ?></td>
                           <td><?php echo ($v["club_video_type_name"]); ?></td>
                           <td><?php echo ($v["club_video_uptime"]); ?></td>
                           <td>
                           <video width="150" height="250" controls autobuffer>  
                           <source src="/neu11_yuejian/yuejian11/Public/Uploads/video/<?php echo ($v["club_video_address"]); ?>" ></source>
                           </video> 
                           </td>
                           <td><a href="/neu11_yuejian/yuejian11/Admin/Video/editvideo/club_video_id/<?php echo ($v["club_video_id"]); ?>">修改
                           </a>|<a href="/neu11_yuejian/yuejian11/Admin/Video/deleteClass/club_video_id/<?php echo ($v["club_video_id"]); ?>" onclick="return confirm('你确定要删除吗？')">
                           <i class="icon-trash">
                           </a></td>
                          </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                    </div> <!-- /widget-body -->
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>